# print('a' in str1)
# print('c' not in str1)
# print('o' not in str1)
# score = eval(input("请输入一个年份:"))
# if score % 4 == 0 and score % 100 != 0 or score % 400 == 0:
#     print("是闰年")
# else:
#     print("不是闰年")
# # 逻辑运算符使用所示:
# print(True and False)
# print(True and True)
# print(True or False)
# print(not False)
# # 成员运算符使用所示:
# str1 = 'hello'
# print('h' in str1)
# print('a' in str1)
# print('c' not in str1)
# print('o' not in str1)
#
# # 逻辑运算符使用所示:
# print(True and False)
# print(True and True)
# print(True or False)
# print(not False)
#
# # 成员运算符使用所示:
# str1 = 'hello'
# print('h' in str1)
# print('a' in str1)
# print('c' not in str1)
# print('o' not in str1)# 逻辑运算符使用所示:
# print(True and False)
# print(True and True)
# print(True or False)
# print(not False)
#
# # 成员运算符使用所示:
# str1 = 'hello'
# print('h' in str1)
# print('a' in str1)
# print('c' not in str1)
# print('o' not in str1)
#
# score = eval(input("请输入成绩分数："))
# if score >= 60:
#     print("成绩已及格")

# a = 1
# while a <= 100:
#     print('今天是第', a)
#     a = a + 1
# n = 1
# sum = 0
# while n <= 100:
#     sum = sum + n
#     n = n + 1
#     # print(sum)
#     print(sum)
# for i in 'python':
#     print(i)

for i in range(8):
    print(i)
    #print(8)